Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions of how to extract the version of the repo #475

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

paddyroddy
Copy link
Member

This will need testing once #471 is merged. Closes #263.

Can't think of a nice way to make this Windows friendly.

This will need testing once #471 is merged. Closes #263.
@paddyroddy paddyroddy added enhancement New feature or request needs-2-reviewers Considered "controversial" so worth a second pair of eyes labels Oct 22, 2024
@paddyroddy paddyroddy self-assigned this Oct 22, 2024
@paddyroddy paddyroddy added the documentation Improvements or additions to documentation label Oct 22, 2024
@paddyroddy paddyroddy mentioned this pull request Oct 22, 2024
1 task
samcunliffe

This comment was marked as outdated.

@samcunliffe samcunliffe removed the needs-2-reviewers Considered "controversial" so worth a second pair of eyes label Nov 5, 2024
@samcunliffe
Copy link
Member

(Don't think this needs two reviewers)

Copy link
Member

@samcunliffe samcunliffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, doesn't quite work as desired:

❯ git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0

latest

description: |-
Can be found by
```sh
git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0
git -C "$HOME/.cookiecutters/python-tooling" describe --match "v*" --tags --candidates 1

@paddyroddy
Copy link
Member Author

Ah, doesn't quite work as desired:

❯ git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0

latest

Ah probably because the latest tag is made afterwards 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add version number detail to bug_report.yml
2 participants